Web Playground

Academy Endpoint

Interactive request form for this API endpoint.

Each card below maps directly to an API endpoint. Query, path, and request body fields are generated from OpenAPI.

GET Hero Ratings by Subject

/web/academy/heroes/ratings/{subject}

Open Only This

Retrieve hero ratings for a specific subject from the ratings index. Supports query parameter for localization.

Path parameters:

  • subject: Rating subject key from the ratings index response (7 characters).

Query parameters:

  • lang: Language code for localized content (default: en).

The response includes hero rating data for the chosen subject:

  • list: Array of hero entries, each containing:
      • object: Hero object ID.
      • title: Hero name (e.g., 'Fanny').
      • image: Hero image URL.
      • image_big: Larger hero image URL.
      • channel: Array of channel IDs.
      • score: Hero score value (e.g., '8.8').
      • score_total: Total score points accumulated.
      • score_count: Number of votes.
      • hot_comment: Highlighted community comment.
      • hashtags: Optional hashtags associated with the poll.

This endpoint is useful for:

  • Displaying detailed ratings within a chosen poll or theme.
  • Allowing players to explore community sentiment.
  • Surfacing popularity for heroes in specific categories (e.g., 'Top Jungler', 'Most Charismatic Hero').
subject path

Rating subject ID from the ratings index response. Required. Min length: 7. Max length: 7.

lang query

Language code for localized content.

GET /api/academy/heroes/ratings/{subject}